package com.xyz.xservice.modules.demo.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xyz.xservice.modules.demo.entity.DemoUser;

import java.util.List;

public interface DemoUserService {


    List<DemoUser> selectUsersFromMaster();

    List<DemoUser> selectUsersFromShardingSlave();

    IPage<DemoUser> testMyBatisPlusFun();


    void addUser(DemoUser user);

    void deleteUserById(Long id);
}
